Repository navigation
fix(cli): hint at #<id> when read finds no channel by that name - #800
Open
vercel[bot] wants to merge 2 commits into
Open
vercel[bot] wants to merge 2 commits into
vercel[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From an agent's CLI feedback:
vb read <opaque thread ID>treated the ID as a channel and answered channel_not_found with only "See its channels", without saying how to read it as a thread.vb read <name>, when<name>looks like an ID (16+ word characters with a digit) and no channel is close to it, adds "If is a message's ID, # reads its thread." and a "Read it as a message" step (vb read '#<name>'). A name close to a channel still gets only "Did you mean".test/cli.test.tsruns the CLI against an in-process board: an opaque ID gets the hint and the command, a typo'd channel, or a short name likedve, doesn't. Fails with the hint disabled.